/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.opensource.jdom.taggen.html.tag;

import org.opensource.jdom.taggen.html.CommonAttributes;

/**
 * Defines a table used for tabular data.
 *
 * <strong>Note:</strong> There are other valid attributes (border, cellpadding, cellspacing, 
 * frame, rules, width) but they are purely presentational and so CSS should 
 * be used instead.
 *
 * <h2>Example</h2> <pre><code class="html">
 *<strong>&lt;table&gt;</strong>
 *	&lt;tr&gt;
 *		&lt;th&gt;Question&lt;/th&gt;
 *		&lt;th&gt;Answer&lt;/th&gt;
 *		&lt;th&gt;Correct?&lt;/th&gt;
 *	&lt;/tr&gt;
 *	&lt;tr&gt;
 *		&lt;td&gt;What is the capital of Burundi?&lt;/td&gt;
 *		&lt;td&gt;Bujumburra&lt;/td&gt;
 *		&lt;td&gt;Yes&lt;/td&gt;
 *	&lt;/tr&gt;
 *	&lt;tr&gt;
 *		&lt;td&gt;What is the capital of France?&lt;/td&gt;
 *		&lt;td&gt;F&lt;/td&gt;
 *		&lt;td&gt;Erm... sort of&lt;/td&gt;
 *	&lt;/tr&gt;
 *<strong>&lt;/table&gt;</strong>
 *</code></pre>
 *
 * @see Tr
 * @see Td
 * @see Th
 * @see THead
 * @see TFoot
 * @see TBody
 * @author sergio.valdez
 */
public class Table extends CommonAttributes{

    /**
     * can be used to provide a summary of the data represented in the table.
     */
    private String summary;

    /**
     * @return the summary
     */
    public String getSummary() {
        return summary;
    }

    /**
     * @param summary the summary to set
     */
    public void setSummary(String summary) {
        this.summary = summary;
    }
}
